<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="../../../css/admin.css"/>
<script type="text/javascript" src="../../../js/jquery.js"></script>
<script type="text/javascript" src="../../../js/changebgcolor.js"></script>
<script type="text/javascript" src="../../../js/calendar.js"></script>
<script type="text/javascript" src="../../../js/ui_util.js"></script>
<script type="text/javascript" src="../js/merchandise_init.js"></script>
<script type="text/javascript" src="js/bill.js"></script>
<script type="text/javascript">
window.onload = function (){
	create_all_type();
	selectInvoice();
	add_item_foot();
};
</script>
</head>
<body>
<div id="div_header" >
  <div id="div_titel">
    单据管理
  </div>
</div>
<form action="javascript:void()">
  <div align="center" style="margin-bottom:10px;">
    单号&nbsp;<input id="invoiceCid" />&nbsp;
    统计类别&nbsp;<select id="type" style="width:100px;"></select>&nbsp;
    开始日期&nbsp;<input id="begin_date" onclick="calendar.setHook(this);" readonly="readonly" size="10" style="cursor:pointer;" />&nbsp;
    结束日期&nbsp;<input id="end_date"   onclick="calendar.setHook(this);" readonly="readonly" size="10" style="cursor:pointer;" />&nbsp;
    <input type="button" value="查找" onclick="selectInvoice()" />
    <!--<input value="打印单据" type="button" />--> 
    <br />
  </div>
</form>
<div align="center" style="margin-bottom:10px;">
  <table class="list" border="0" cellspacing="1" width="840"  >
    <thead>
      <tr>
        <th class="list" style="text-align:left; padding-left:10px;">
          单据列表
        </th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="padding:0; margin:0;">
          <table class="list" style="padding:0; border:0; " width="100%"  >
            <tr>
              <th class="list" width="100">单据编号</th>
              <th class="list" width="">货品去向</th>
              <th class="list" width="60">类别</th>
              <th class="list" width="80">经办人</th>
              <th class="list" width="80">开单日期</th>
              <th class="list" width="80">单据金额</th>
              <th class="list" width="80">存放仓库</th>
              <th class="list" width="80">操作员</th>
              <th class="list" width="100">备注</th>
              <th class="list" style="border-right:0;" width="15">&nbsp;</th>
            </tr>
            <tr>
              <td style="padding:0; margin:0;" colspan="10">
                <div style="width:100%; height:190px; padding:0; margin:0; overflow-y:scroll;">
                  <table id="invoice_list" class="list" style="padding:0; border:0; height:100%; " width="821" >
                  
                  </table>
                </div>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </tbody>
  </table>
</div>
<div align="center">
  <table class="list" border="0" cellspacing="1" width="840"  >
    <thead>
      <tr>
        <th class="list" style="text-align:left; padding-left:10px;">单据明细</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td style="padding:0; margin:0;">
          <table class="list" style="padding:0; border:0; " width="100%"  >
            <thead>
              <tr>
                <th class="list" width="200">货品名称</th>
                <th class="list" width="">规格型号</th>
                <th class="list" width="100">单价</th>
                <th class="list" width="100">数量</th>
                <th class="list" width="50">单位</th>
                <th class="list" width="100">总金额</th>
                <th class="list" style="border-right:0;" width="15">&nbsp;</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="padding:0; margin:0;" colspan="7">
                  <div style="width:100%; height:200px; overflow-y:scroll; padding:0; margin:0;">
                    <table class="list" id="invoice_item_list" border="0" cellspacing="1" style="border:0; width:821px; height:100%; "  >
                    
                    </table>
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </tbody>
  </table>
</div>
</body>
</html>
